Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to use cmake presets #237

Merged
merged 10 commits into from
Jul 24, 2022
Merged

Update to use cmake presets #237

merged 10 commits into from
Jul 24, 2022

Conversation

adam4813
Copy link
Member

@adam4813 adam4813 commented Jul 11, 2022

Change to use CMake presets and update documentation generation, and the README, along side various bug fixes.

Description

Update README and added docs generation targets.

Fix readthedoc setup by including python requirements.

Update vcpkg commit hash for dependencies.

Change to use CMake presets with ninja multi config.

Fix asset failing to load missing null pointer check for animation.cpp.

Some adjustments to fmt.

Fix Dead ImGUI root window id being empty.

Add EOL find utility for md5anim and obj parsing. This should be replaced by a better check @elantzb .

Add better validation to md5anim parsing.

Remove explicit default constructor for Mesh.hpp Vertex

Update CMake min version to 19.

Fix include in pxiel-buffer.cpp being nested under tec namespace.
The compiler was errantly looking for tec::std::man because of this.

Add launch config for vscode.

Properly set c++17 via target_compile_features interface to propagate

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Update README.

Update vcpkg commit hash for dependencies.

Fix bugs.
@adam4813 adam4813 requested review from Meisaka and eldahl July 11, 2022 01:53
@adam4813
Copy link
Member Author

@elantzb I cannot mark you as a reviewer, but tagging you here

Copy link
Contributor

@elantzb elantzb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing jumps out at me as problematic. I want to try building this and see what happens on my end.

@elantzb
Copy link
Contributor

elantzb commented Jul 11, 2022

Update this to use latest c++ language standard.

@elantzb
Copy link
Contributor

elantzb commented Jul 11, 2022

I recommend updating the description on the PR/commit to be more verbose. For the sake of a paper trail if needed in the future.

@adam4813
Copy link
Member Author

This will require protocolbuffers/protobuf#10232 to be merged into a new version and the the version needs to be put on VCPKG and the baseline commit hash needs to be updated.

Fix include in pxiel-buffer.cpp being nested under tec namespace.
The compiler was errantly looking for tec::std::man because of this.

Add launch confing for vscode.

Properly set c++17 via target_compile_features interface to propagate
Change build images
Add visual studio launch.vs.json.

Fix tests not being found and properly link gtest libs.
Update build preset descriptions to be a bit less pedantic.
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Remove no longer relevant selene include from CMakeLists.

Add VS_DEBUGGER_WORKING_DIRECTORY to client and server CMakeLists to define the desired working directory.
@adam4813
Copy link
Member Author

Visual studio 2017 is not supported any longer it appears due to sol2 ThePhD/sol2#1362

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@adam4813
Copy link
Member Author

Prior run was successful and the final commit should have skipped run as it was a typo fix to the README. I am going to merge this via admin powers instead of waiting.

@adam4813 adam4813 merged commit 867ac5b into master Jul 24, 2022
@adam4813 adam4813 deleted the cmake-presets branch July 24, 2022 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants